package com.lagou.service;

import com.github.pagehelper.PageInfo;
import com.lagou.common.ServerResponse;
import com.lagou.model.User;

public interface IUserService {
    public ServerResponse<PageInfo> getUsers(int pageNumb, int pageSize);

    public ServerResponse<User> login(String username, String password);

    ServerResponse<String> add(User user);

    ServerResponse<String> deleteById(int id);
}
